package com.world.rickcloudendpoint.common.exception;

import lombok.EqualsAndHashCode;

/**
 * @description:
 * @author: jlsong
 * @date: 2022/03/11 20:56:01
 * @version: 1.0
 */
@EqualsAndHashCode(callSuper = false)
public class DefaultException extends Exception{

    public DefaultException(String message) {
        super(message);
    }

    @Override
    public String toString() {
        return getMessage();
    }
}
